Texas Instruments /MSP432P401M /EUSCI_A2 /UCAxCTLW0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as UCAxCTLW0

15 1211 87 43 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (UCSWRST_0)UCSWRST 0 (UCTXBRK_0)UCTXBRK 0 (UCTXADDR_0)UCTXADDR 0 (UCDORM_0)UCDORM 0 (UCBRKIE_0)UCBRKIE 0 (UCRXEIE_0)UCRXEIE 0 (UCSSEL_0)UCSSEL 0 (UCSYNC_0)UCSYNC 0 (UCMODE_0)UCMODE 0 (UCSPB_0)UCSPB 0 (UC7BIT_0)UC7BIT 0 (UCMSB_0)UCMSB 0 (UCPAR_0)UCPAR 0 (UCPEN_0)UCPEN

UCPAR=UCPAR_0, UC7BIT=UC7BIT_0, UCSSEL=UCSSEL_0, UCMSB=UCMSB_0, UCPEN=UCPEN_0, UCBRKIE=UCBRKIE_0, UCDORM=UCDORM_0, UCTXADDR=UCTXADDR_0, UCSPB=UCSPB_0, UCMODE=UCMODE_0, UCTXBRK=UCTXBRK_0, UCRXEIE=UCRXEIE_0, UCSYNC=UCSYNC_0, UCSWRST=UCSWRST_0

Description

eUSCI_Ax Control Word Register 0

Fields

UCSWRST

Software reset enable

0 (UCSWRST_0): Disabled. eUSCI_A reset released for operation

1 (UCSWRST_1): Enabled. eUSCI_A logic held in reset state

UCTXBRK

Transmit break

0 (UCTXBRK_0): Next frame transmitted is not a break

1 (UCTXBRK_1): Next frame transmitted is a break or a break/synch

UCTXADDR

Transmit address

0 (UCTXADDR_0): Next frame transmitted is data

1 (UCTXADDR_1): Next frame transmitted is an address

UCDORM

Dormant

0 (UCDORM_0): Not dormant. All received characters set UCRXIFG.

1 (UCDORM_1): Dormant. Only characters that are preceded by an idle-line or with address bit set UCRXIFG. In UART mode with automatic baud-rate detection, only the combination of a break and synch field sets UCRXIFG.

UCBRKIE

Receive break character interrupt enable

0 (UCBRKIE_0): Received break characters do not set UCRXIFG

1 (UCBRKIE_1): Received break characters set UCRXIFG

UCRXEIE

Receive erroneous-character interrupt enable

0 (UCRXEIE_0): Erroneous characters rejected and UCRXIFG is not set

1 (UCRXEIE_1): Erroneous characters received set UCRXIFG

UCSSEL

eUSCI_A clock source select

0 (UCSSEL_0): UCLK

1 (UCSSEL_1): ACLK

2 (UCSSEL_2): SMCLK

UCSYNC

Synchronous mode enable

0 (UCSYNC_0): Asynchronous mode

1 (UCSYNC_1): Synchronous mode

UCMODE

eUSCI_A mode

0 (UCMODE_0): UART mode

1 (UCMODE_1): Idle-line multiprocessor mode

2 (UCMODE_2): Address-bit multiprocessor mode

3 (UCMODE_3): UART mode with automatic baud-rate detection

UCSPB

Stop bit select

0 (UCSPB_0): One stop bit

1 (UCSPB_1): Two stop bits

UC7BIT

Character length

0 (UC7BIT_0): 8-bit data

1 (UC7BIT_1): 7-bit data

UCMSB

MSB first select

0 (UCMSB_0): LSB first

1 (UCMSB_1): MSB first

UCPAR

Parity select

0 (UCPAR_0): Odd parity

1 (UCPAR_1): Even parity

UCPEN

Parity enable

0 (UCPEN_0): Parity disabled

1 (UCPEN_1): Parity enabled. Parity bit is generated (UCAxTXD) and expected (UCAxRXD). In address-bit multiprocessor mode, the address bit is included in the parity calculation.

Links

() ()